projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68dff3c
)
(face-color-gray-p): Return nil if x-color-values does.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 29 Jan 1996 07:27:04 +0000
(07:27 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 29 Jan 1996 07:27:04 +0000
(07:27 +0000)
lisp/faces.el
patch
|
blob
|
history
diff --git
a/lisp/faces.el
b/lisp/faces.el
index d96918cfd0bd621ddabbf8031c25da7db45d48ff..93c4ec5ce2509bc6c74444f27d2af8a32e878e6e 100644
(file)
--- a/
lisp/faces.el
+++ b/
lisp/faces.el
@@
-139,7
+139,8
@@
FRAME specifies the frame and thus the display for interpreting COLOR."
(r (nth 0 values))
(g (nth 1 values))
(b (nth 2 values)))
- (and (< (abs (- r g)) (/ (max 1 (abs r) (abs g)) 20))
+ (and values
+ (< (abs (- r g)) (/ (max 1 (abs r) (abs g)) 20))
(< (abs (- g b)) (/ (max 1 (abs g) (abs b)) 20))
(< (abs (- b r)) (/ (max 1 (abs b) (abs r)) 20)))))